﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace Kurogane.Buildin {
	public class KrgnProc {


		private readonly Delegate _delegate;

		/// <summary>
		/// 実行するデリゲート
		/// </summary>
		public Delegate Delegate { get { return _delegate; } }

		private readonly string[] _PostPosList;

		/// <summary>
		/// この手順に属する助詞の配列
		/// </summary>
		public ReadOnlyCollection<string> PostPositions {
			get { return Array.AsReadOnly(_PostPosList); }
		}

		public KrgnProc(string[] prePositionList, Delegate del) {
			_PostPosList = prePositionList;
			_delegate = del;
		}

	}
}
